Rewriting and Efficient Computation of Bound Disjunctive Datalog Queries Rewriting and Efficient Computation of Bound Disjunctive Datalog Queries
نویسندگان
چکیده
A strong interest in enhancing Datalog programs by the capability of disjunction emerged in several areas, such as databases, artificial intelligence, logic programming, and so forth (Lobo, Minker & Rajasekar, 1992). Disjunctive rules have been profitably used in several contexts including knowledge representation, databases querying, and representation of incomplete information (Eiter, Gottlob & Mannila, 1997a; Gelfond & Lifschitz, 1991). Most of the works on disjunction are concerned with the definition of intuitive and expressive semantics, which are commonly based on the paradigm of minimal models (Abiteboul, Hull & Vianu, 1995; Lobo et al., 1992; Ullman, 1989). Disjunction in the head of rules increases the expressive power of the language but makes the computation of queries very difficult, as it allows the presence of multiple models whose number is generally exponential with respect to the size of the input (Abiteboul et al., 1995; Eiter et al., 1997a). Therefore, a great interest has been devoted to the definition of efficient algorithms for both computing the semantics of programs and answering queries. Most of the research has concentrated on the definition of efficient fixpoint algorithms computing the semantics of programs, and the more effective proposals are based on the evaluation of the (intelligent) ground instantiation of programs and on the use of heuristics (Leone, Rullo & Scarcello, 1997). However, different from standard datalog, for disjunctive queries, there are few effective methodologies which systematically utilize the query to propagate bindings into the body of the rules to avoid computing all the models of the program. The following example taken from Greco (2003), shows a program in which only a strict subset of the minimal models needs to be considered to answer the query.
منابع مشابه
Goal-oriented Type-based Reasoning for Expressive DLs
Reasoning in expressive Description Logics (DLs) that contain ALC is challenging, partly because they do not enjoy the useful universal model property of their Horn counterparts. There are efficient state-of-the-art reasoners for standard reasoning tasks, but they are still lacking for other tasks that do not reduce easily to satisfiability. For instance, for query answering, there are a few al...
متن کاملPolynomial Disjunctive Datalog Rewritings of Instance Queries in Expressive Description Logics
Rewriting ontology mediated queries (OMQs) into traditional query languages like FO-queries and Datalog is central for understanding their relative expressiveness, and plays a crucial role in the ongoing efforts to develop OMQ answering tools by reusing existing database technologies. However, the vast majority of works focus on Horn ontologies, and for OMQs where the ontologies are written in ...
متن کاملComputing Datalog Rewritings for Disjunctive Datalog Programs and Description Logic Ontologies
We study the closely related problems of rewriting disjunctive datalog programs and non-Horn DL ontologies into plain datalog programs that entail the same facts for every dataset. We first propose the class of markable disjunctive datalog programs, which is efficiently recognisable and admits polynomial rewritings into datalog. Markability naturally extends to SHI ontologies, and markable onto...
متن کاملOptimising Resolution-Based Rewriting Algorithms for DL Ontologies
Resolution-based rewriting algorithms have been widely used for computing disjunctive datalog rewritings for DL TBoxes, and recently, also for computing datalog rewriting for queries over TBoxes expressed in DL-Lite and ELHI. Although such algorithms are general enough to support a wide variety of (even very complex) DLs, this generality comes with performance prices. In the current paper we pr...
متن کاملEfficient Evaluation of Disjunctive Datalog Queries with Aggregate Functions
We present a technique for the optimization of (partially) bound queries over disjunctive datalog programs enriched with aggregate functions (Datalog∨A programs). This class of programs has been recently proved to be well-suited for declaratively formalizing repair semantics in data integration systems. Indeed, even though disjunctive programs provide a natural way for encoding the possible rep...
متن کامل